<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>07_浮动布局练习</title>
        <style>
            .center{
                width: 1000px;
                margin: 0 auto;
            }
            .f1{
                overflow: hidden;
            }
            .f1>.left{
                width: 611px;
                height: 376px;
                background-color: gray;
                float: left;
                margin-right: 10px;
            }
            .f1>.right{
                width: 375px;
                height: 376px;
                background-color: yellow;
                float: left;
            }
            .f2{
                overflow: hidden;
                margin-top:10px;
            }
            .f2>.left{
                width: 366px;
                height: 233px;
                background-color: pink;
                float: left;
                margin-right: 20px;
            }
            .f2>.card{
                width: 198px;
                height: 233px;
                background-color: #0aa1ed;
                float: left;
                margin-right: 8px;
            }
            .f2>.card3{
                margin-right:0;
            }
        </style>
    </head>
    <body>
        <div class="main">
            <div class="center">
                <div class="f1">
                    <div class="left"></div>
                    <div class="right"></div>
                </div>
                <div class="f2">
                    <div class="left"></div>
                    <div class="card"></div>
                    <div class="card"></div>
                    <div class="card card3"></div>
                </div>
            </div>
        </div>
    </body>
</html>